package com.cjh;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@EnableAsync //开启异步注解
@EnableScheduling //开启定时任务功能
@SpringBootApplication
@MapperScan("com.cjh.mapper")
public class GoodsOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(GoodsOrderApplication.class, args);
    }

}
